Skip to content

Create new Release Process Workflow#183

Merged
JcMinarro merged 2 commits into
developfrom
feature/new-release-version-workflow
May 14, 2025
Merged

Create new Release Process Workflow#183
JcMinarro merged 2 commits into
developfrom
feature/new-release-version-workflow

Conversation

@JcMinarro
Copy link
Copy Markdown
Contributor

🎯 Goal

The release process has been simplified and centralized on a common repository to be reused across our different products.
Complete: AND-495

The publish-new-version workflow automates the complete release process for Android repositories by:

  1. Automatically bumping version (major/minor/patch) in the configuration file
  2. Building and publishing to Maven Central
  3. Creating GitHub releases
  4. Automatically syncing branches (release → main → develop)

Improvements for repositories:

  • Eliminates manual version and release management
  • Reduces human errors in the publication process
  • Keeps main branches automatically in sync

🎉 GIF

@JcMinarro JcMinarro requested a review from Copilot May 14, 2025 14:54
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR simplifies and centralizes the release process for Android repositories by replacing the old publish workflow with a new, unified release process workflow.

  • Removed the old .github/workflows/publish.yml which manually executed version bumps, builds, and Maven Central publishing.
  • Introduced .github/workflows/publish-new-version.yml that leverages a central workflow from GetStream/android-ci-actions for a streamlined release process.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/publish.yml Removed the existing manual release and publishing workflow.
.github/workflows/publish-new-version.yml Added a new workflow that uses a centralized release process, accepting manual input for the version bump.

@@ -0,0 +1,31 @@
name: Publish New Version

on:
Copy link

Copilot AI May 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new workflow is triggered solely by workflow_dispatch which requires manual intervention. If the goal is to fully automate the release process as described in the PR, consider adding an additional release trigger (e.g. on: release: types: [released]).

Copilot uses AI. Check for mistakes.
@JcMinarro JcMinarro merged commit baaf976 into develop May 14, 2025
1 of 4 checks passed
@JcMinarro JcMinarro deleted the feature/new-release-version-workflow branch May 14, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants